<p>{{title}}</p>


<br>

<br>

<button (click)="getMsg()">获取父组件的msg</button>
<br>
<button (click)="getRun()">执行父组件的run</button>
<br>
<button (click)="getAll()">通过传送整个父组件的方式获取父组件的值及方法</button>
